RATIS-2578. Automate more steps of ratis-thirdparty release#147
Conversation
szetszwo
left a comment
There was a problem hiding this comment.
@adoroszlai , thanks for working on this! Just have two suggestions inlined.
| 12. Publish maven repository at https://repository.apache.org/ | ||
|
|
There was a problem hiding this comment.
-
Set release information at JIRA: https://issues.apache.org/jira/plugins/servlet/project-config/RATIS/administer-versions
-
Set release information at report database: https://reporter.apache.org/addrelease.html?ratis
-
Update version in pom.xml to the next SNAPSHOT version.
| MAVEN_OPTS="${mvnopts}" ${MVN} -Dmaven.repo.local="${repodir}" "$@" | ||
| } | ||
|
|
||
| 1-prepare-src() { |
There was a problem hiding this comment.
Let's add a script to change the year in NOTICE:
YEAR=`grep "Copyright" NOTICE | sed -e 's/Copyright 2017-\([0-9]\{4\}\).*/\1/g'`
CURRENT=$(date +%Y)
if [ $YEAR = $CURRENT ] ; then
else
echo "NOTICE year $YEAR is not current $CURRENT"
fiJust found that the year in ratis is still 2023: https://github.com/apache/ratis/blob/master/NOTICE
|
Thanks @szetszwo for the suggestions, incorporated them (slightly modified). |
szetszwo
left a comment
There was a problem hiding this comment.
+1 the change looks good.
|
Thanks @szetszwo for the review. |
What changes were proposed in this pull request?
make_rc.shscript from Ratis. There are a few differences (e.g. the way tarballs are created), so the scripts are not shared (reused).https://issues.apache.org/jira/browse/RATIS-2578
How was this patch tested?
Tested during preparation of RCs for
ratis-thirdparty-1.1.0.https://github.com/adoroszlai/ratis-thirdparty/actions/runs/29500131488